<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}


<div class="container">
    
    <div class="main">
   
       <div class="mod">
       		<div class="head">申请企业空间</div>
            <div class="body"> 如果想向大家分享某一兴趣主题的精彩内容，可以创建一个企业空间。企业空间是兴趣内容的展示空间。<br/><br/>
           	  <form action="" method="post" name="myform"  enctype="multipart/form-data" >
        
        <table cellpadding="0" cellspacing="1" class="" width="100%">
            <tr>
            	<th>Email：</th>
            	<td><input name="memberinfo[email]" type="text"  style="ime-mode:disabled" require="true" datatype="email|ajax" url="{url("?module=$module&action=checkemail")}" msg="邮件格式不正确|" id="email" size="30" /> *</td>
            </tr>
            <tr>
                <th> 二级域名：</th>
                <td><input name="sitedomain" type="text" size="15" value="">.{SECONDDOMAIN_NAME}</td>
            </tr>
             <tr> 
                  <th width="20%"> 企业名称 </th>
                  <td><input type="text" name="companyname" id="companyname" value="" size="35" require="true" datatype="limit" min="3" max="100" msg="字符长度必须为0到100位"> * </td>
            </tr>
            <tr>
            	<th> 联系人：</th>
            	<td><input name="linkman" type="text" size="15" value=""></td>
            </tr>
            <tr>
            	<th> 联系电话：</th>
            	<td><input name="telephone" type="text" size="15" value="" require="true" datatype="phone" msg="联系电话不正确"> *<br/>最好是你的电话,这样能够让我们更主动地与你沟通。我们尊重个人隐私,请放心。 </td>
            </tr>
            <tr>
            	<th> 公司简介：</th>
            	<td>
        		<textarea name="introduce" id="introduce" rows="5" cols="60" require="true" datatype="limit" min="3" max="100" msg="字符长度必须为0到100位"></textarea> *
            </td>
            </tr>
            <tr>
            	<th></th>
            	<td>
        		 <input name="" type="checkbox" value="">我已阅读并同意<a href="{url("?module=yellowpage&action=agreement")}">{$SETTING[sitename]}服务协议</a>
            </td>
            </tr>
            <tr> 
              <td></td>
              <td> 
              <input type="hidden" name="forward" value="{$forward}"> 
              <input type="submit" name="dosubmit" class="button" value=" 确定修改 ">              
              </td>
            </tr>
        </table>
        </form>
         </div>
       </div>
      
            
    </div>
    
    <div class="aside">
    	
        <div class="mod">
        	<div class="head">温馨提示</div>
            <div class="body">
                <div class="well">
                   <p> 考虑到中国法律法规和相关政策的要求,{$SETTING[sitename]}不欢迎色情、激进话题、意识形态方面的讨论, 并保留解散这类主题小站的权利。 </p>
                </div>
            </div>
        </div>
        
        
        <div class="mod">
            <div class="head">最新进驻</div>
            <div class="body">
                {get sql="select userid,logo,companyname,introduce from table_member_company order by rand()" rows="5"}
                	<div class="row">
                    	<div class="span1">
                            <a href="{url("?module=yellowpage&userid=$r[userid]")}"><img src="{php echo $r[logo] ? $r[logo] : 'misc/nopic.gif'}"/></a>
                        </div>
                        <div class="span2">
                            <a href="{url("?module=yellowpage&userid=$r[userid]")}">{$r[companyname]}</a><br/>
                            {php echo rand(50,300)}人喜欢<br/>
                            {str_cut(strip_tags($r[introduce]),60)}
                        </div>
                    </div>
                {/get}
            </div>
        </div> 
        
        
        
    </div>
</div>


<script language="javascript" type="text/javascript">

$().ready(function() {
	  $('form').checkForm(1);
	});
</script>
{template 'footer.html'}
